/**
 * Copyright (c) 2023, iDearHanYu Co., Ltd.
 *
 * SPDX-License-Identifier: 
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-08-18     chao         first version
 */

#ifndef __VOLUMIO_MUSIC_PLAYER_H__
#define __VOLUMIO_MUSIC_PLAYER_H__

enum _player_update {
    PLAYER_UPDATE_TITLE,
    PLAYER_UPDATE_ARTIST,
    PLAYER_UPDATE_ALBUM,
    PLAYER_UPDATE_PLAY_PAUSE,
    PLAYER_UPDATE_PLAY_TIME,
    PLAYER_UPDATE_WHOLE_TIME,
};
 
/* exported functions */
lv_obj_t *volumio_music_player_create(void);
void volumio_music_player_destroy(void);
void volumio_music_player_update(enum _player_update update);
 
#endif /* __LV_VOLUMIO_MUSIC_PLAYER_H__ */


